/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.aliyuncs.ecsinc.model.v20160314;

import com.aliyuncs.RpcAcsRequest;

/**
 * @author auto create
 * @version 
 */
public class CreateSystemEventRequest extends RpcAcsRequest<CreateSystemEventResponse> {
	
	public CreateSystemEventRequest() {
		super("EcsInc", "2016-03-14", "CreateSystemEvent", "ecs", "innerAPI");
	}

	private Long resourceOwnerId;

	private String effectTime;

	private String limitTime;

	private String aliUid;

	private String resourceId;

	private String resourceOwnerAccount;

	private Long ownerId;

	private String eventType;

	public Long getResourceOwnerId() {
		return this.resourceOwnerId;
	}

	public void setResourceOwnerId(Long resourceOwnerId) {
		this.resourceOwnerId = resourceOwnerId;
		if(resourceOwnerId != null){
			putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
		}
	}

	public String getEffectTime() {
		return this.effectTime;
	}

	public void setEffectTime(String effectTime) {
		this.effectTime = effectTime;
		if(effectTime != null){
			putQueryParameter("EffectTime", effectTime);
		}
	}

	public String getLimitTime() {
		return this.limitTime;
	}

	public void setLimitTime(String limitTime) {
		this.limitTime = limitTime;
		if(limitTime != null){
			putQueryParameter("LimitTime", limitTime);
		}
	}

	public String getAliUid() {
		return this.aliUid;
	}

	public void setAliUid(String aliUid) {
		this.aliUid = aliUid;
		if(aliUid != null){
			putQueryParameter("AliUid", aliUid);
		}
	}

	public String getResourceId() {
		return this.resourceId;
	}

	public void setResourceId(String resourceId) {
		this.resourceId = resourceId;
		if(resourceId != null){
			putQueryParameter("ResourceId", resourceId);
		}
	}

	public String getResourceOwnerAccount() {
		return this.resourceOwnerAccount;
	}

	public void setResourceOwnerAccount(String resourceOwnerAccount) {
		this.resourceOwnerAccount = resourceOwnerAccount;
		if(resourceOwnerAccount != null){
			putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
		}
	}

	public Long getOwnerId() {
		return this.ownerId;
	}

	public void setOwnerId(Long ownerId) {
		this.ownerId = ownerId;
		if(ownerId != null){
			putQueryParameter("OwnerId", ownerId.toString());
		}
	}

	public String getEventType() {
		return this.eventType;
	}

	public void setEventType(String eventType) {
		this.eventType = eventType;
		if(eventType != null){
			putQueryParameter("EventType", eventType);
		}
	}

	@Override
	public Class<CreateSystemEventResponse> getResponseClass() {
		return CreateSystemEventResponse.class;
	}

}
